package org.zetaframework.mq.constants;

/**
 * 日志服务 MQ常量
 *
 * @author gcc
 */
public final class LogMqConstants {

    /*********************************************************************
     * 交换机：                          log.topic
     *                                       ↓
     * 队列：         log.topic.login    log.topic.opt     log.topic.job
     * routingKey:      log.login          log.opt            log.job
     *********************************************************************/
    /** log topic绑定名称 */
    public static final String LOG_BINDING_NAME = "log-out-0";
    /** log topic交换机 */
    public static final String LOG_EXCHANGE_NAME = "log.topic";
    /** log topic队列1 */
    public static final String LOG_QUEUE_LOGIN = "log.topic.login";
    /** log topic队列2 */
    public static final String LOG_QUEUE_OPT = "log.topic.opt";
    /** log topic队列3 */
    public static final String LOG_QUEUE_JOB = "log.topic.job";
    /** routingKey */
    public static final String LOG_ROUTING_KEY_LOGIN = "log.login";
    public static final String LOG_ROUTING_KEY_OPT = "log.opt";
    public static final String LOG_ROUTING_KEY_JOB = "log.job";

}
